<div class="produce">
  <div class="publicArticle">
    <div class="iframe">
      <div class="flex_row flex_space_between iframe_part1">
        <ng-content select=".modalHeader"></ng-content>
        <div id="companyIcon">
          <i class="fa" [ngClass]="{'fa-expand':fullScreenCheck,'fa-compress':fullScreenCheck2}"
             (click)=fullScreen()></i>
          <i class="fa fa-times-circle" (click)=closeAddPro()></i>
        </div>
      </div>
      <div style="padding:20px;">
        <ng-content select=".modalInput"></ng-content>
      </div>
      <!--在新增产品页面,修改公司介绍页面显示两个文本编辑框-->
      <div *ngIf="showMultipleBoolean">
        <app-write-post [comeFromModalText]="richText" (RichTextGoOut)="comeFromRichText($event)">
          <h3 *ngIf="showUniqueTitle==='produce'" class="firstRichTextHeader">
            以下设置案例页面左侧文字介绍
          </h3>
          <h3 *ngIf="showUniqueTitle==='companyDetail'" class="firstRichTextHeader">
            以下设置公司介绍左侧文字介绍
          </h3>
          <h3 *ngIf="showUniqueTitle==='produce'" class="secondRichTextHeader">
            以下设置案例页面右侧文字介绍
          </h3>
          <h3 *ngIf="showUniqueTitle==='companyDetail'" class="secondRichTextHeader">
            以下设置公司介绍右侧文字介绍
          </h3>
        </app-write-post>
      </div>
      <!--在团队优势,招聘页面显示1个文本编辑框-->
      <div *ngIf="!showMultipleBoolean">
        <app-write-post-one [comeFromModalText]="richText" (RichTextGoOut)="comeFromRichText($event)">
          <div *ngIf="showUniqueTitle==='teamsAdvantage'"  class="onlyRichTextHeader">
            <h3>以下设置团队介绍页面内容</h3>
          </div>
          <div *ngIf="showUniqueTitle==='careers'"  class="onlyRichTextHeader">
            <h3>以下设置招聘页面内容</h3>
          </div>
        </app-write-post-one>
      </div>
      <!--<div style="padding:20px;">-->
        <!--<ng-content select=".buttonSubmit"></ng-content>-->
      <!--</div>-->
      <div [hidden]="showImageUpload">
        <h3 style="padding:20px;" *ngIf="showUniqueTitle==='produce'">图片上传(幻灯片位置图片,建议1150px X 550px)</h3>
        <h3 style="padding:20px;" *ngIf="showUniqueTitle==='companyDetail'">图片上传(控制公司介绍页面下左侧图片,建议600px X 365px)</h3>
        <h3 style="padding: 20px;" *ngIf="showUniqueTitle==='teamsAdvantage'">图片上传(控制团队介绍下的8张小图,建议400px X 250px)</h3>
        <h3 style="padding:20px;" *ngIf="showUniqueTitle==='publicArticle'">图片上传(用于控制文章页面封面图片)</h3>

        <input id="input-gly-1" name="file" type="file" multiple class="file-loading">
        <div [hidden]="showSecondImageUpload">
          <h3 style="padding:20px;" *ngIf="showUniqueTitle==='produce'">图片上传(控制幻灯片下面的两个图片,建议580px X 250px)</h3>
          <h3 style="padding:20px;" *ngIf="showUniqueTitle==='companyDetail'">图片上传(控制公司介绍页面下右侧图片,建议 600px X 750px)</h3>
          <h3 style="padding: 20px;" *ngIf="showUniqueTitle==='teamsAdvantage'">图片上传(控制团队介绍下的1张大图,建议960px X 520px)</h3>
          <input id="input-gly-2" name="file" type="file" multiple class="file-loading">
        </div>
      </div>
      <div style="padding: 20px">
        <button class="btn btn-primary" (click)="onSubmit()">提交</button>
      </div>
    </div>
  </div>
</div>
